package com.wugenqiang;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.transaction.annotation.EnableTransactionManagement;
@EnableAutoConfiguration(exclude = {
        org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration.class
})
@EnableTransactionManagement
@ServletComponentScan
@MapperScan("com.wugenqiang.*.dao")
@SpringBootApplication
@EnableCaching
public class Application {
    public static void main(String[] args) {
        SpringApplication.run(Application.class, args);
        System.out.println("ヾ(◍°∇°◍)ﾉﾞ    lfd项目启动成功      ヾ(◍°∇°◍)ﾉﾞ\n" +
                "                                              _                            _                              ___  _____\n" +
                        " __      __ _   _   __ _   ___  _ __    __ _ (_)  __ _  _ __    __ _      | |  ___ __   __ ___  ___      |_ _||_   _|\n" +
                        " \\ \\ /\\ / /| | | | / _` | / _ \\| '_ \\  / _` || | / _` || '_ \\  / _` |     | | / _ \\\\ \\ / // _ \\/ __|      | |   | |\n" +
                        "  \\ V  V / | |_| || (_| ||  __/| | | || (_| || || (_| || | | || (_| |     | || (_) |\\ V /|  __/\\__ \\      | |   | |\n" +
                        "   \\_/\\_/   \\__,_| \\__, | \\___||_| |_| \\__, ||_| \\__,_||_| |_| \\__, |     |_| \\___/  \\_/  \\___||___/     |___|  |_|\n" +
                        "                   |___/                  |_|                  |___/\n ");
    }
}
